Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xch/test new nbgl #25

Closed
wants to merge 2 commits into from
Closed

Xch/test new nbgl #25

wants to merge 2 commits into from

Conversation

xchapron-ledger
Copy link

@ledger-wiz-cspm-secret-detection
Copy link

ledger-wiz-cspm-secret-detection bot commented Mar 20, 2024

Wiz Scan Summary

IaC Misconfigurations 0C 0H 0M 0L 0I
Total 0C 0H 0M 0L 0I
Secrets 0🔑

sgliner-ledger
sgliner-ledger previously approved these changes Mar 22, 2024
reject_confirmation);
nbgl_useCaseReviewStreamingStart(TYPE_OPERATION,
&C_stax_app_eos_64px,
"Review operation",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we use TYPE_OPERATION can't both string be defined in the SDK?
Maybe default behaviour could be to have them set to NULL, and if the developer want to customize he could still set it ?

pair.value = review_title;
return &pair;
} else {
return get_single_action_review_pair(index -1);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

weird spacing


void ui_display_single_action_sign_flow(void) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at the code, I find it not so easy to follow functions to understand what the final screens will look like. Maybe we should try to find a descriptive way to comment the screens, such as what used to be done on bagl ? 🤔

pairList.startIndex = 0;

nbgl_useCaseStaticReview(&pairList, &infoLongPress, "Reject transaction", review_choice);
}
if (txProcessingCtx.currentActionNumer == 1) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

numer 🔢

@cedelavergne-ledger
Copy link

Closing, because integrated, with latest NBGL fetures/API in #28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants